TEMPLATE = app
TARGET = analyticsexample
CONFIG += meegotouch libinappanalytics
QT += declarative
DEPENDPATH += .
INCLUDEPATH += .

# Input
SOURCES += main.cpp

RESOURCES += \
    analyticsexample.qrc


  unix {
    #VARIABLES
    isEmpty(PREFIX) {
        PREFIX = /usr
  }
BINDIR = $$PREFIX/bin
DATADIR =$$PREFIX/share

DEFINES += DATADIR=\\\"$$DATADIR\\\" PKGDATADIR=\\\"$$PKGDATADIR\\\"

#MAKE INSTALL

INSTALLS += target desktop service

  target.path =$$BINDIR

  desktop.path = $$DATADIR/applications
  desktop.files += $${TARGET}.desktop

  service.path = $$DATADIR/dbus-1/services/
  service.files += com.nokia.$${TARGET}.service

}
